
<style>
    .modal-dialog {
        width: 1024px;
        margin: 30px auto;
    }
</style>
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title" id="title">{$data.accountName}信息</h4>
        </div>
        <div class="modal-body">
            <form id="addForm" class="form-horizontal" action="__URL__/add" method="post">
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="type" class="col-sm-2 control-label">申请类型</label>
                            <div class="col-sm-10">
                                <div class="btn-group" data-toggle="buttons" >
                                    <if condition="$info.type eq 'a'">
                                    <label class="btn btn-default active">
                                        <input type="radio" id="type" name="type" value="a" autocomplete="off" checked tabindex="1" >户外广告
                                    </label>
                                    </if>
                                    <if condition="$info.type eq 'b'">
                                    <label class="btn btn-default active">
                                        <input type="radio" name="type" value="b" autocomplete="off" tabindex="2"> 临时广告
                                    </label>
                                    </if>
                                    <if condition="$info.type eq 'c'">
                                    <label class="btn btn-default active">
                                        <input type="radio" name="type" value="c" autocomplete="off" tabindex="3"> 临时占道
                                    </label>
                                    </if>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="receiving_time" class="col-sm-2 control-label">收件时间</label>
                            <div class="col-sm-6">
                                <input type="text" class="form-control" id="receiving_time" name="receiving_time"
                                       placeholderx="收件时间" value="{$info.receiving_time}" readonly/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="danwei_name" class="col-sm-2 control-label">申请单位信息</label>
                            <div class="col-sm-10">
                                <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="danwei_name">单位名称</button>
                            </span>
                                    <input type="text" class="form-control" id="danwei_name" name="danwei_name" tabindex="4"
                                           placeholderx="填写单位名称..." value="{$info.danwei_name}" readonly>
                                </div>
                                <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="fuzheren_name">负责人姓名</button>
                            </span>
                                    <input type="text" class="form-control" id="fuzheren_name" name="fuzheren_name"
                                           placeholderx="填写负责人姓名..." value="{$info.fuzheren_name}" readonly>
                                    <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="fuzheren_tel">负责人电话</button>
                            </span>
                                    <input type="text" class="form-control" id="fuzheren_tel" name="fuzheren_tel"
                                           placeholderx="填写负责人电话..." value="{$info.fuzheren_tel}" readonly>
                                </div>
                                <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="lianxiren_name">联系人姓名</button>
                            </span>
                                    <input type="text" class="form-control" id="lianxiren_name" name="lianxiren_name"
                                           placeholderx="填写联系人姓名..." value="{$info.lianxiren_name}" readonly>
                                    <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="lianxiren_tel">联系人电话</button>
                            </span>
                                    <input type="text" class="form-control" id="lianxiren_tel" name="lianxiren_tel"
                                           placeholderx="填写联系人电话..." value="{$info.lianxiren_tel}" readonly>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="company_name" class="col-sm-2 control-label">广告公司信息</label>
                            <div class="col-sm-10">
                                <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_name">名称</button>
                            </span>
                                    <input type="text" class="form-control" id="company_name" name="company_name"
                                           placeholderx="填写广告公司名称..." value="{$info.company_name}" readonly>
                                </div>
                                <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_fuzheren_name">负责人姓名</button>
                            </span>
                                    <input type="text" class="form-control" id="company_fuzheren_name"
                                           name="company_fuzheren_name" placeholderx="广告公司填写负责人姓名..." value="{$info.company_fuzheren_name}" readonly>
                                    <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_fuzheren_tel">负责人电话</button>
                            </span>
                                    <input type="text" class="form-control" id="company_fuzheren_tel"
                                           name="company_fuzheren_tel" placeholderx="填写广告公司负责人电话..." value="{$info.company_fuzheren_tel}" readonly>
                                </div>
                                <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_lianxiren_name">联系人姓名</button>
                            </span>
                                    <input type="text" class="form-control" id="company_lianxiren_name"
                                           name="company_lianxiren_name" placeholderx="填写广告公司联系人姓名..." value="{$info.company_lianxiren_name}" readonly>
                                    <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_lianxiren_tel">联系人电话</button>
                            </span>
                                    <input type="text" class="form-control" id="company_lianxiren_tel"
                                           name="company_lianxiren_tel" placeholderx="填写广告公司联系人电话..." value="{$info.company_lianxiren_tel}" readonly>
                                </div>
                            </div>
                        </div>
                        <if condition="$info.type eq 'a'">
                        <div class="form-group group-a">
                            <label for="a_bianhao" class="col-sm-2 control-label">编号</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="a_bianhao" name="a_bianhao" placeholderx="编号"
                                       value="{$info.a_bianhao}" readonly>
                            </div>
                        </div>
                        </if>
                        <if condition="$info.type eq 'b' or $info.type eq 'c'">
                        <div class="form-group group-b group-c" style="display:none">
                            <label for="bc_bianhao" class="col-sm-2 control-label">编号</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="bc_bianhao" name="bc_bianhao" placeholderx="请手工录入编号"
                                       value="{$info.bc_bianhao}">
                            </div>
                        </div>
                        </if>
                        <div class="form-group">
                            <label for="address" class="col-sm-2 control-label">地址</label>
                            <div class="col-sm-10">
                                <div class="input-group">
                                    <span class="input-group-btn" style="weight:auto;">
                                        <button class="btn btn-default" type="button" for="daolu">广东省中山市小榄镇{$info.daolu}</button>
                                    </span>
                                </div>
                                <div class="input-group col-sm-12">
                                    <input type="text" class="form-control" id="address" name="address" placeholderx="填写详细地址..." value="{$info.address}" readonly>
                                </div>
                            </div>
                        </div>
                        <if condition="$info.type eq 'a'">
                        <div class="form-group group-a">
                            <label for="a_ad_company_type" class="col-sm-2 control-label">广告主类型</label>
                            <div class="col-sm-10">
                                <div class="btn-group" data-toggle="buttons">
                                    <label class="btn btn-default active">
                                        <input type="radio" name="a_ad_company_type" value="" autocomplete="off" checked>
                                        {$info.a_ad_company_type}
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group group-a">
                            <label for="a_ad_type" class="col-sm-2 control-label">广告类型</label>
                            <div class="col-sm-10">
                                <div class="btn-group" data-toggle="buttons">
                                    <label class="btn btn-default active">
                                        <input type="radio" name="a_ad_type" value="楼顶" autocomplete="off" checked> {$info.a_ad_type}
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group group-a">
                            <label for="a_mianji" class="col-sm-2 control-label">广告面积</label>
                            <div class="col-sm-6">
                                <div class="input-group">
                                    <input type="number" class="form-control" id="a_mianji" name="a_mianji" aria-label="" value="{$info.a_mianji}" readonly />
                                    <span class="input-group-addon">㎡</span>
                                </div>
                            </div>
                        </div>
                        </if>
                    </div>
                    <div class="col-md-6">
                        <if condition="$info.type eq 'b' or $info.type eq 'c'">
                        <div class="form-group group-b group-c " >
                            <label for="bc_neirong" class="col-sm-2 control-label">申请内容</label>
                            <div class="col-sm-10">
                        <textarea type="text" class="form-control" id="bc_neirong" name="bc_neirong" placeholderx="填写申请内容"
                                  rows="5">{$info.bc_neirong}</textarea>
                            </div>
                        </div>
                        </if>
                        <div class="form-group" >
                            <label id="" class="col-sm-2 control-label">
                                收件内容
                                <p id="shoujian_error" class="error" style="display:none">(必须上传一项)</p>
                            </label>
                            <div class="col-sm-10">
                                <notempty name="info['abc_yingyuezhizhao_checkbox']">
                                <div class="panel-group group-a group-b group-c" id="accordion" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                <span class="label label-success" style="display: none" id="abc_yingyuezhizhao_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true"> </span></span>
                                                营业执照或机构代码证复印件
                                                <notempty name="info['abc_yingyuezhizhao']">
                                                <a href="{$info.abc_yingyuezhizhao}" class="fancybo_image">
                                                    <img src="{$info.abc_yingyuezhizhao}" kesrc="{$info.abc_yingyuezhizhao}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <if condition="$info.type eq 'a'">
                                <notempty name="info.a_faren_shenfenzheng_checkbox">
                                <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                法人代表或组织主要负责人身份证
                                                <notempty name="info.a_faren_shenfenzheng">
                                                <a href="{$info.a_faren_shenfenzheng}" class="fancybo_image">
                                                    <img src="{$info.a_faren_shenfenzheng}" kesrc="{$info.a_faren_shenfenzheng}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                </if>
                                <notempty name="info.abc_shenqingzhe_shenfenzheng_checkbox">
                                <div class="panel-group group-a group-b group-c" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                申请者身份证复印件
                                                <notempty name="info.abc_shenqingzhe_shenfenzheng">
                                                <a href="{$info.abc_shenqingzhe_shenfenzheng}" class="fancybo_image">
                                                    <img src="{$info.abc_shenqingzhe_shenfenzheng}" kesrc="{$info.abc_shenqingzhe_shenfenzheng}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <if condition="$info.type eq 'a'">
                                <notempty name="info.a_weituoshu_checkbox">
                                <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                授权委托书
                                                <notempty name="info.a_weituoshu">
                                                <a href="{$info.a_weituoshu}" class="fancybo_image">
                                                    <img src="{$info.a_weituoshu}" kesrc="{$info.a_weituoshu}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <notempty name="info.a_guihuaju_shenqingbiao_checkbox">
                                <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                中山市城乡规划局业务申请表
                                                <notempty name="info.a_guihuaju_shenqingbiao">
                                                <a href="{$info.a_guihuaju_shenqingbiao}" class="fancybo_image">
                                                    <img src="{$info.a_guihuaju_shenqingbiao}" kesrc="{$info.a_guihuaju_shenqingbiao}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <notempty name="info.a_didian_chanquan_checkbox">
                                <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                设置地点产权证复印件
                                                <notempty name="info.a_didian_chanquan">
                                                <a href="{$info.a_didian_chanquan}" class="fancybo_image">
                                                    <img src="{$info.a_didian_chanquan}" kesrc="{$info.a_didian_chanquan}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                </if>
                                <notempty name="info.abc_zhizuo_gongshi_zhizhao_checkbox">
                                <div class="panel-group group-a group-b group-c" role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                制作公司工商执照复印件
                                                <notempty name="info.abc_zhizuo_gongshi_zhizhao">
                                                <a href="{$info.abc_zhizuo_gongshi_zhizhao}" class="fancybo_image">
                                                    <img src="{$info.abc_zhizuo_gongshi_zhizhao}" kesrc="{$info.abc_zhizuo_gongshi_zhizhao}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <if condition="$info.type eq 'a'">
                                <notempty name="info.a_images_checkbox">
                                <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                户外广告招牌、建筑小品设计图纸及现场实景彩色效果图
                                                <notempty name="info.a_images">
                                                <a href="{$info.a_images}" class="fancybo_image">
                                                    <img src="{$info.a_images}" kesrc="{$info.a_images}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <notempty name="info.a_didian_celiangtu_checkbox">
                                <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                设置地址测量图
                                                <notempty name="info.a_didian_celiangtu">
                                                <a href="{$info.a_didian_celiangtu}" class="fancybo_image">
                                                    <img src="{$info.a_didian_celiangtu}" kesrc="{$info.a_didian_celiangtu}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <notempty name="info.a_zulinhetong_checkbox">
                                    <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                                        <div class="panel panel-default">
                                            <div class="panel-heading" role="tab" >
                                                <h4 class="panel-title">
                                                    租赁合同复印件
                                                    <notempty name="info.a_zulinhetong">
                                                    <a href="{$info.a_zulinhetong}" class="fancybo_image">
                                                        <img src="{$info.a_zulinhetong}" kesrc="{$info.a_zulinhetong}"  alt="" width="50"/>
                                                    </a>
                                                    </notempty>
                                                </h4>
                                            </div>
                                        </div>
                                    </div>
                                </notempty>
                                <notempty name="info.a_jiegouanquantuzhi_checkbox">
                                    <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                                        <div class="panel panel-default">
                                            <div class="panel-heading" role="tab" >
                                                <h4 class="panel-title">
                                                    结构安全设计图纸
                                                    <notempty name="info.a_jiegouanquantuzhi">
                                                    <a href="{$info.a_jiegouanquantuzhi}" class="fancybo_image">
                                                        <img src="{$info.a_jiegouanquantuzhi}" kesrc="{$info.a_jiegouanquantuzhi}"  alt="" width="50"/>
                                                    </a>
                                                    </notempty>
                                                </h4>
                                            </div>
                                        </div>
                                    </div>
                                </notempty>
                                </if>
                                <if condition="$info.type eq 'b'">
                                <notempty name="info.b_xuanchuanguazhang_shenqingbiao_checkbox">
                                <div class="panel-group group-b "  role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                               临时广告、宣传张挂申请表
                                                <notempty name="info.b_xuanchuanguazhang_shenqingbiao">
                                                <a href="{$info.b_xuanchuanguazhang_shenqingbiao}" class="fancybo_image">
                                                    <img src="{$info.b_xuanchuanguazhang_shenqingbiao}" kesrc="{$info.b_xuanchuanguazhang_shenqingbiao}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                </if>
                                <if condition="$info.type eq 'c'">
                                <notempty name="info.c_shigongzuoye_shenqingbiao_checkbox">
                                <div class="panel-group group-c "  role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                临时占用道路、施工作业申请表
                                                <notempty name="info.c_shigongzuoye_shenqingbiao">
                                                <a href="{$info.c_shigongzuoye_shenqingbiao}" class="fancybo_image">
                                                    <img src="{$info.c_shigongzuoye_shenqingbiao}" kesrc="{$info.c_shigongzuoye_shenqingbiao}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                </if>
                                <if condition="$info.type eq 'b' or $info.type eq 'c'">
                                <notempty name="info.bc_xiaoguotu_checkbox">
                                <div class="panel-group group-b group-c "  role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                效果图复印件
                                                <notempty name="info.bc_xiaoguotu">
                                                <a href="{$info.bc_xiaoguotu}" class="fancybo_image">
                                                    <img src="{$info.bc_xiaoguotu}" kesrc="{$info.bc_xiaoguotu}"  alt="" width="50"/>
                                                </a>
                                                </notempty>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                <notempty name="info.bc_qita_checkbox">
                                <div class="panel-group group-b group-c "  role="tablist" aria-multiselectable="true">
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" >
                                            <h4 class="panel-title">
                                                <p>其他：
                                                <notempty name="info.bc_qita">
                                                <span>{$info.bc_qita}</span>
                                                </notempty>
                                                </p>
                                            </h4>
                                        </div>
                                    </div>
                                </div>
                                </notempty>
                                </if>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="qingdan_lianxiren_name" class="col-sm-2 control-label">收件清单联系人</label>
                            <div class="col-sm-10">
                                <div class="input-group col-sm-6">
                                    <input type="text" class="form-control" id="qingdan_lianxiren_name" name="qingdan_lianxiren_name" placeholderx="填写收件清单联系人"   tabindex="14"  value="{$info.qingdan_lianxiren_name}" readonly >
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="shoujianren" class="col-sm-2 control-label">收件清单联系人电话</label>
                            <div class="col-sm-10">
                                <div class="input-group col-sm-6">
                                    <input type="text" class="form-control" id="qingdan_lianxiren_tel" name="qingdan_lianxiren_tel" placeholderx="填写收件清单联系人电话"   tabindex="15"  value="{$info.qingdan_lianxiren_tel}" readonly >
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="shoujianren" class="col-sm-2 control-label">收件人</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="shoujianren" name="shoujianren" placeholderx="填写收件人" value="{$info.shoujianren}" readonly />
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->

<script>
    $('.fancybo_image').fancybox({
        prevEffect : 'none',
        nextEffect : 'none',
        closeBtn  : true,
        arrows    : true,
        nextClick : true,
        helpers : {
            thumbs : {
                width  : 50,
                height : 50
            }
        }
    });
</script>